package dilmaj.client;

import java.io.PrintWriter;
import java.util.List;

import org.w3c.dom.Document;
import com.google.gwt.user.client.rpc.AsyncCallback;

import dilmaj.shared.TermVO;

public interface TermServiceAsync {
	void getAllTerms(AsyncCallback<String[]> callback);
	void getAllJDOTerms(AsyncCallback<List<TermVO>> callback);
	void addTerm(TermVO newTerm, AsyncCallback<TermVO> callback);
	void update(TermVO termVO, AsyncCallback<TermVO> callback);
	void search(String termPattern, AsyncCallback<List<TermVO>> callback);
}
